package imnu.Math;

/**
 * @author: lys
 * @类名: Test
 * @Title:
 * @date: 2020/7/17
 **/
public class Test {
    public static void main(String[] args) {
        //绝对值
        int iNum = Math.abs(-8);
        System.out.println(iNum);
        System.out.println();
        //生成随机数 0~1
        for(int i=0;i<9;i++){
            System.out.println(Math.random());
        }
        //返回最接近某个数的最小整数
        System.out.println();
        double dNum = Math.ceil(6.8);
        System.out.println(dNum);
        //包装类
        Integer a = null;
        int b = 0;
        System.out.println();
    }
}
